<template>
    <div>
        <div>这是demo2</div>
        <demo3 v-bind="$attrs" v-on="$listeners"/>
    </div>
</template>

<script>
import demo3 from './demo3.vue';
    export default {
        components: {
            demo3,
        },
        data() {
            return {
                demo2Name:'测试22',
                demo2Age: 22,
            }
        },
        mounted(){
           // console.log(this);
        },
    }
</script>

<style lang="scss" scoped>

</style>
